package com.fishery.base.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 *
 * </p>
 *
 * @author Ghost
 * @since 2021-01-15
 */
@TableName("t_germchit_type")
@ApiModel(value = "GermchitType对象", description = "")
public class GermchitType implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "id")
	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	@ExcelIgnore
	private String id;

	@ApiModelProperty(value = "种类名称")
	@ExcelProperty(value = "种类名称", index = 0)
	private String name;

	@ApiModelProperty(value = "最小密度")
	@ExcelProperty(value = "最小密度", index = 1)
	private BigDecimal minDensity;

	@ApiModelProperty(value = "最大密度")
	@ExcelProperty(value = "最大密度", index = 2)
	private BigDecimal maxDensity;

	@ApiModelProperty(value = "水温")
	@ExcelProperty(value = "水温", index = 3)
	private String waterTemperature;

	@ApiModelProperty(value = "PH值")
	@ExcelProperty(value = "PH值", index = 4)
	private String ph;

	@ApiModelProperty(value = "盐度")
	@ExcelProperty(value = "盐度", index = 5)
	private String salinity;

	@ApiModelProperty(value = "氨氮值")
	@ExcelProperty(value = "氨氮值", index = 6)
	private String ammoniaValue;

	@ApiModelProperty(value = "溶解氧")
	@ExcelProperty(value = "溶解氧", index = 7)
	@TableField("dissolved_Oxygen_value")
	private String dissolvedOxygenValue;

	@ApiModelProperty(value = "版本号（乐观锁）", hidden = true)
	@Version
	@TableField(fill = FieldFill.INSERT)
	@ExcelIgnore
	private Integer version;

	@ApiModelProperty(value = "逻辑删除（0未删除，1删除）", hidden = true)
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
	@ExcelIgnore
	private Integer isDeleted;

	@ApiModelProperty(value = "创建时间", hidden = true)
	@ExcelProperty(value = "创建时间", index = 8)
	@TableField(fill = FieldFill.INSERT)
	private Date gmtCreate;

	@ApiModelProperty(value = "修改时间", hidden = true)
	@ExcelProperty(value = "修改时间", index = 9)
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date gmtModified;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public BigDecimal getMinDensity() {
		return minDensity;
	}

	public void setMinDensity(BigDecimal minDensity) {
		this.minDensity = minDensity;
	}

	public BigDecimal getMaxDensity() {
		return maxDensity;
	}

	public void setMaxDensity(BigDecimal maxDensity) {
		this.maxDensity = maxDensity;
	}

	public String getWaterTemperature() {
		return waterTemperature;
	}

	public void setWaterTemperature(String waterTemperature) {
		this.waterTemperature = waterTemperature;
	}

	public String getPh() {
		return ph;
	}

	public void setPh(String ph) {
		this.ph = ph;
	}

	public String getSalinity() {
		return salinity;
	}

	public void setSalinity(String salinity) {
		this.salinity = salinity;
	}

	public String getAmmoniaValue() {
		return ammoniaValue;
	}

	public void setAmmoniaValue(String ammoniaValue) {
		this.ammoniaValue = ammoniaValue;
	}

	public String getDissolvedOxygenValue() {
		return dissolvedOxygenValue;
	}

	public void setDissolvedOxygenValue(String dissolvedOxygenValue) {
		this.dissolvedOxygenValue = dissolvedOxygenValue;
	}

	public Integer getVersion() {
		return version;
	}

	public void setVersion(Integer version) {
		this.version = version;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Date getGmtModified() {
		return gmtModified;
	}

	public void setGmtModified(Date gmtModified) {
		this.gmtModified = gmtModified;
	}

	@Override
	public String toString() {
		return "GermchitType{" +
				"id=" + id +
				", name=" + name +
				", minDensity=" + minDensity +
				", maxDensity=" + maxDensity +
				", waterTemperature=" + waterTemperature +
				", ph=" + ph +
				", salinity=" + salinity +
				", ammoniaValue=" + ammoniaValue +
				", dissolvedOxygenValue=" + dissolvedOxygenValue +
				", version=" + version +
				", isDeleted=" + isDeleted +
				", gmtCreate=" + gmtCreate +
				", gmtModified=" + gmtModified +
				"}";
	}
}
